package com.wn.system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author yellow Docter
 * @date 2023 -07-20
 * @desc
 */
@EnableFeignClients("com.wn.access.api")            //开启   openfeign的使用
@MapperScan("com.wn.system.mapper")
@SpringBootApplication
@ComponentScan({"com.wn.system","com.wn.common"})
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class,args);
    }

}
